<volist name="amt_changes" id="amt" key="k" >
    <tr>
        <td width="20%">{$amt['change_time']}</td>
        <td width="10%">{:GetAgentNameById($amt['agent_id'])}</td>
        <td width="50%">{$amt['amt_remark']}</td>
        <td width="10%">
            <if condition="$amt['amt_type'] eq 2">
                <span class="red_common">- {$amt['amt']}</span>
                <else/>
                <span class="yes">+ {$amt['amt']}</span>
            </if>
        </td>
        <td width="10%">{$amt['surplus']}</td>
    </tr>
</volist>
<tr><td colspan="5">{$page}</td></tr>

<script type="text/javascript">
    $(document).ready(function(){
        $(".pagination a").click(function(){
            cur_page = $(this).data('p');
            ajax_get_table(cur_page);
        });
    });
</script>